Ext.define('SMS.view.Menu', {
    extend: 'Ext.tree.Panel',
    alias: 'widget.smsmenu',
    requires: ['SMS.store.Menus'],
    initComponent: function() {
        Ext.apply(this, {
            id: 'menu-panel',
            title: '系统菜单',
            iconCls: 'icon-menu',
            margins: '0 0 -1 1',
            region: 'west',
            border: 1,
            enableDD: false,
            split: true,
            width: 212,
            minSize: 130,
            maxSize: 300,
            rootVisible: false,
            containerScroll: true,
            collapsible: true,
            autoScroll: false,
            store: Ext.create('SMS.store.Menus'),
        });
        this.callParent(arguments);
    }
})